package com.jiangjiang.eshop.commodity.convert;

import com.jiangjiang.eshop.commodity.domain.GoodsSkuSalePropertyValueEntity;
import com.jiangjiang.eshop.commodity.dto.GoodsSkuSalePropertyValueDTO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @ClassName GoodsSkuSalePropertyValueConvert
 * @Description TODO
 * @Author jhw
 * @Date 2021/8/2 23:49
 * @Version 1.0
 **/
@Mapper(componentModel = "spring")
public interface GoodsSkuSalePropertyValueConvert {

    List<GoodsSkuSalePropertyValueDTO> convertEntities2DTOList(List<GoodsSkuSalePropertyValueEntity> list);

    GoodsSkuSalePropertyValueEntity convertDTO2Entity(GoodsSkuSalePropertyValueDTO dto);
}
